package com.kyl.mapper;


import com.kyl.entity.Member;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author WanJl
 * @version 1.0
 * @title MemberMapper
 * @description
 * @create 2025/1/13
 */
@Mapper
public interface MemberMapper {
    /**
     * 根据openId查询客户信息
     * @param openId
     * @return
     */
    Member getMemberByOpenId(String  openId);

    /**
     * 新增客户信息
     * @param member
     * @return
     */
    Integer insertMember(Member member);

    /**
     * 修改客户信息
     * @param member
     * @return
     */
    Integer updateMember(Member member);
}
